package indi.kider.server.meter.service;

import indi.kider.common.model.bill.Meter;
import indi.kider.common.model.meter.CommandResponse;
import indi.kider.common.model.meter.InstantCommand;
import indi.kider.common.model.meter.MeterReading;
import org.springframework.stereotype.Service;

@Service
public interface DayReadingService {
    MeterReading getDayReading(MeterReading meterReading)throws Exception;

    CommandResponse sendCommand(InstantCommand instantCommand)throws Exception;

    /**
     * 抄读水表
     */
    MeterReading readWaterMeter(InstantCommand instantCommand)throws Exception;
    /**
     * 抄读电表
     */
    MeterReading readPowerMeter(InstantCommand instantCommand)throws Exception;

    /**
     * 获取表档案（表号获取）
     * @param meter
     * @return
     */
    Meter getMeterDocument(Meter meter)throws Exception;

}
